package cn.piggy.session;

import cn.piggy.executor.SimpleExecutor;
import cn.piggy.type.AnswerType;
import cn.piggy.type.TranslationType;

public class DefaultSessionFactory {

    public DefaultSession openAnswerSession() {
        return new DefaultSession(new SimpleExecutor(new AnswerType()));
    }
    public DefaultSession openTranslationSession() {
        return new DefaultSession(new SimpleExecutor(new TranslationType()));
    }

}
